home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
488
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: koobera.math.uic.edu!djb
From: djb@koobera.math.uic.edu (D. J. Bernstein)
Message-ID: <1996Mar408.48.01.11162@koobera.math.uic.edu>
Date: 4 Mar 1996 08:48:01 GMT
Newsgroups: gnu.misc.discuss,comp.std.c
Subject: Re: Coding Standards are ignorant
References: <4gum82$14v4@info4.rus.uni-stuttgart.de> <4hdhgm$6vq@solutions.solon.com> <1996Mar403.23.06.8316@koobera.math.uic.edu> <4he37i$a0u@solutions.solon.com>
Organization: IR
Peter Seebach <seebs@solutions.solon.com> wrote:
> D. J. Bernstein <djb@koobera.math.uic.edu> wrote:
> > Seebach has been making a bunch of false statements on gnu.misc.discuss
> > about portability, speed, and various other things.
> Example false statements:
``There are no interesting programs you can't write entirely within
POSIX and ANSI.''
``[ispunct()] has no excuse to assume that char is 8 bits.'' (Of course
it has an excuse. Whether it's a _good_ excuse is a side issue.)
``It will hurt because it's incorrect by the only standard applicable.''
(False hypothesis, false logic, false conclusion.)
``void main [has] NO BENEFIT WHATSOEVER.''
``If declaring main as void really shuts gcc up, there is a bug in
either gcc or your code.''
Referring to isalnum || strchr: ``... this version is likely to be
within 5% of your version, because isalnum is normally blindingly fast,
and most characters in addresses will be isalnum.''
Referring to RFC 822: ``... '.' must also be quoted.'' (No, not always.)
---Dan